#ifndef MONEYDAO_H
#define MONEYDAO_H

#include <QString>
#include <QList>
#include "money.h"


class SpecificSearch;

Money* getMoney(Money* incomplete_money, QList<MoneyCategory*> listAllMoneyCategory, int id_user);

QList<Money*> getAllMoney(int id_user, QList<MoneyCategory*> listAllMoneyCategory, SpecificSearch* ss = 0, Money::money_types typeMoney = Money::type_none);

bool deleteMoney(Money* money);

bool updateMoney(Money* money);

bool registerMoney(Money* money, int id_user);

#endif // MONEYDAO_H
